<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>人力资源管理系统</title>

<link href="../lib/easyui/themes/default/easyui.css" type="text/css" rel="stylesheet" />
<link href="../lib/easyui/themes/icon.css" type="text/css" rel="stylesheet" />
<link href="../zxy/css/home/home.css" type="text/css" rel="stylesheet" />

<!--霍亚宁外部样式开始  -->
<link type="text/css" rel="stylesheet" href="../hyn/css/Backhome.css" />
<link type="text/css" rel="stylesheet" href="../hyn/css/holidaykind.css" />
<!--霍亚宁外部样式结束  -->

<!-- 王继龙 -->
<link type="text/css" rel="stylesheet" href="../wjl/css/exam_back_home.css" />
<!-- 龙 -->

<!-- 杨经纬 -->
<link type="text/css" rel="stylesheet" href="../yjw/css/rec_back_home.css" />
<!-- 杨经纬 -->

<script src="../lib/easyui/jquery.min.js"></script>
<script src="../lib/easyui/jquery.easyui.min.js"></script>
<script src="../lib/easyui/easyui-lang-zh_CN.js"></script>
<script src="../lib/easyui/jquery.easyui.mobile.js"></script>
<script src="../lib/easyui/easyloader.js"></script>
<script src="../lib/vue/vue.js"></script>
<script src="../common/js/home/home.js"></script>
<!--zxy  -->
<script src="../zxy/js/home/home_personnel.js"></script>
<!--zxy  -->

<!--yjw  -->
<script src="../yjw/js/home/home_rec.js"></script>
<!--yjw  -->

<!--wjl  -->
<script src="../wjl/js/home/home_exam.js"></script>
<script src="../wjl/js/home/home_train.js"></script>
<!--wjl  -->

<!--djt  -->
<script src="../djt/js/home/home_salary.js"></script>
<!--djt  -->

<!--hyn  -->
<script src="../hyn/js/home/home_check.js"></script>
<!--hyn  -->
<style type="text/css">
	*{
		marging:0;
		padding:0;
	}
</style>
</head>
<body class="easyui-layout">
	<div id="north" data-options="region:'north',split:false" style="height: 15%;">
		<div id="logo">
			<p>Human Resource Manage System</p>
		</div> 
		<div id="user_msg">
		    <span id="time">2018-12-31 16:13:00</span>
			<div>
				<a id="username" class="easyui-linkbutton"
						data-options="plain:true">username</a> 
			    <a id="logout" class="easyui-linkbutton"
						data-options="plain:true">注销</a> 
			</div>
		</div>
	</div>
	<div id="east" title="辅助功能" data-options="region:'east',split:false,collapsible:true"
			style="width: 10%;">
		<div id="aa" class="easyui-accordion" style="width:100%;height:100%;">
		    <div title="基础操作" data-options="iconCls:'icon-save'" style="overflow:auto;padding:10px;">
		    	<a id="basic" class="easyui-linkbutton"
					data-options="plain:true,text:'我的桌面',width:'100%'"></a> 
		    </div>
		    <div title="查询统计" data-options="iconCls:'icon-reload',selected:true" style="padding:10px;">
				<a id="tongji" class="easyui-linkbutton"
					data-options="plain:true,text:'我的桌面',width:'100%'"></a> 
		    </div>
		</div>
	</div>
	<div id="west" data-options="region:'west',split:false" style="width: 10%;">
		<a id="desktop" class="easyui-linkbutton"
			data-options="plain:true,text:'我的桌面',width:'100%'"></a> 
		<a id="personnel" class="easyui-linkbutton" 
			data-options="plain:true,text:'人事管理',width:'100%'"></a>
		<a id="rec" class="easyui-linkbutton" 
			data-options="plain:true,text:'招聘管理',width:'100%'"></a>
		<a id="train" class="easyui-linkbutton" 
			data-options="plain:true,text:'培训发展',width:'100%'"></a>
		<a id="exam" class="easyui-linkbutton" 
			data-options="plain:true,text:'考试管理',width:'100%'"></a>
		<a id="check" class="easyui-linkbutton" 
			data-options="plain:true,text:'考勤管理',width:'100%'"></a>
		<a id="salary_home" class="easyui-linkbutton" 
			data-options="plain:true,text:'薪资管理',width:'100%'"></a>
		<a id="system_settings" class="easyui-linkbutton" 
			data-options="plain:true,text:'系统设置',width:'100%'"></a>
	</div>
	<div id="center" data-options="region:'center'">
		<div id="tt" class="easyui-tabs" data-options="fit:true,tools:'#tools_tab'">
			<div title="我的桌面" style="padding:20px;display:none;">
				<a class="easyui-linkbutton" onClick="refreshDesktop()">刷新</a>
				<h3>您有<a id="zxy_dt_pcr_approve_num" href="javascript:void(0)" onClick="zxy_dt_show_pcr()">0</a>条员工职位变动申请待审批</h3>
				<h3>您有<a id="zxy_dt_pcr_edit_num" href="javascript:void(0)" onClick="zxy_dt_show_pcr()">0</a>条员工职位变动申请待修改</h3>
				
				<script>
					refreshDesktop();
					function refreshDesktop(){
						$.ajax({
							url:'../desktop/getRemindMsg',
							success:function(msg){
								if(msg.success){
									console.log(msg);
									$("#zxy_dt_pcr_approve_num").text(msg.data.pcrApproveNum);
									$("#zxy_dt_pcr_edit_num").text(msg.data.pcrEditNum);
								}
							}
						});
					}
					
					function zxy_dt_show_pcr(){
						addTab("员工职位变动","../personnelChange/positionChangeRecordList");
						$("#tt").tabs('getTab','员工职位变动').panel('open').panel('refresh','../personnelChange/positionChangeRecordList');
					}
					
				</script>
		    </div>
		</div>
		<div id="tools_tab">
			<a id="close_other" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true"></a>
			<a id="close_all" class="easyui-linkbutton" data-options="iconCls:'icon-no',plain:true"></a>
		</div>
	</div>
	
</body>
</html>